package com.zmn.oms.model.entity.invoice;

import com.zmn.oms.common.constant.ErpConsts;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 类描述：订单发票 
 * 
 * @author liuying 
 * @date 2018-11-07 20:15
 */
@Data
public class OrderInvoice  implements Serializable {

	private static final long serialVersionUID =  16016318661896688L;


	private Long invoiceId;

	/**
	 * 发票类型  1、纸质发票 ；2电子发票
	 *  @see ErpConsts#ORDER_INVOICE_TYPE_PAP  纸质发票
	 *  @see ErpConsts#ORDER_INVOICE_TYPE_ELE 电子发票
	 */
	private Integer invoiceNature;

	/**
	 * 公司Id
	 */
	private Integer companyId;

	/**
	 * 公司名称
	 */
	private String companyName;

	/**
	 * 发票抬头
	 */
	private String title;

	/**
	 * 纳税人识别号
	 */
	private String taxNumber;

	/**
	 * 发票号
	 */
	private String number = "";

	/**
	 * 金额
	 */
	private Integer amount;

	private String creater;

	private Date createTime;

}
